import en from './en_us.js'
import hi from './hi.js'
import Vue from 'vue'
import VueI18n from 'vue-i18n'

Vue.use(VueI18n)

const i18n = new VueI18n({
	locale: uni.getStorageSync('language') || 'english',
	messages: {
		english: en,
		hi_di: hi,
	},
	silentTranslationWarn: true, // 去除警告
})

export default i18n